home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #30 / NN_1992_30.iso / spool / comp / database / sybase / 508 < prev    next >
Encoding:
Text File  |  1992-12-18  |  1.5 KB  |  39 lines

  1. Newsgroups: comp.databases.sybase
  2. Path: sparky!uunet!shearson.com!news
  3. From: fgreco@shearson.com (Frank Greco)
  4. Subject: Notifying clients of table mods?
  5. Message-ID: <1992Dec17.185308.20280@shearson.com>
  6. Sender: news@shearson.com (News)
  7. Organization: Lehman Brothers
  8. Date: Thu, 17 Dec 1992 18:53:08 GMT
  9. Lines: 28
  10.  
  11. I'm soliciting for ideas and comments on a Unix-based notification
  12. system.
  13.  
  14. I have a potential appliation where I would like to notify distributed
  15. client processes (LAN) that a table(s) was modified in a Sybase database.
  16.  
  17. I'd like to not use OpenClient at this point if at all possible.
  18.  
  19. My initial thought is to write a master process that polls a
  20. "modifications" table (perhaps created via trigger(s)) that tracks what
  21. was modified and then looking up in a "subscriber" table to see who to
  22. notify.  Then, if needed, send some data via a socket (I'm assuming all
  23. SPARC machines) to the appropriate subscribers.
  24.  
  25. Another thought would be to front-end all the queries and, upon
  26. successful table modification, directly notify any clients (again
  27. through sockets).  This alternative would seem to have performance
  28. ramifications.
  29.  
  30. I'd appreciate any comments that any of you might have,
  31.  
  32. Frank G.
  33. Please use email (fgreco@shearson.com)
  34. --
  35. +-On Assignment at: Lehman Brothers-+-Office: Mercury Technologies, Inc.-+
  36. | World Financial Center, 11th Floor| PO Box 529                         |
  37. | New York City, NY 10285 Desk: 1515| Fanwood, NJ 07023                  |
  38. | email: fgreco@shearson.com        | email: fgreco@mercury.com          |
  39.