[XML-DEV Mailing List Archive Home] [By Thread] [By Date] [Recent Entries] [Reply To This Message] Re: Using XML (or JSON) for inter-thread communication
On 19 March 2012 14:34, Pete Cordell <petexmldev@codalogic.com> wrote: .. > One of the problems is sharing state across threads and getting race > conditions etc. > > However, systems like web services are effectively multi-process / > multi-threaded and seem to scale well. Â Quite often web services (and > systems like them) use XML or JSON to communicate between the various > systems. ... > Does anybody have any thoughts on this? > Since a few years already, the web apps designed to scale to million of users seems to use stuff like "memcache" to share data. The format of the data shared is normally the native of the language, probably often serialization of objects. The data don't have to live longer than the execution of the program, so is ok ( Is not like a lazy java programmer saving a serialized object to a database). -- -- â±in del â³ensaje.
[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] |
PURCHASE STYLUS STUDIO ONLINE TODAY!Purchasing Stylus Studio from our online shop is Easy, Secure and Value Priced! Download The World's Best XML IDE!Accelerate XML development with our award-winning XML IDE - Download a free trial today! Subscribe in XML format
|