Ted Patrick > { Events & Community } > Adobe Systems


PowerSDK SYNC Update

I have been silently making lots of progress on PowerSDK SYNC. SYNC is a highly scalable server for XMLSocket applications combined with a remoting client library. &
 
Here are some basics on SYNC:
 
Multi-port - Serve a common application on many server ports simultaneously. This allows you to serve a common application on port 80, 21, 1500 and 10,549 where any client can connect and talk to all clients attached at all ports.
 
Highly Scalable - SYNC contains a unique thread model called tasklets. Tasklets are miniature threads in 8K of memory allowing over 10000 to run simultaneously in a cross platform manner. In testing, a single SYNC server supported over 10,000 concurrent connections while each client transmitted 10 messages per minute. This test ran for 5 straight days and the server used under 100Mb of RAM on an optimized FreeBSD operating system.
 
Socket Remoting - Client coding in Flash is very easy as the client library supports an API similar to Flash Remoting. To send a message you simple call a method on a local object and a response is returned to a listener. A room based chat application similar to Central Dev Chat can be written in under 30 lines of code using v1 or v2 components.
 
chat = new PSDK.SYNC.CHAT()
chat.connect(url, port)
 
NO XML - The SYNC client and server do not use XML. Although XML is neat and exciting to use, it dramatically slows down client and server execution speed. SYNC uses simple ASCII protocol allowing message processing to occur over 20x faster than the XML equivalent on both the client and server. As there is no XML parsing, the client performance issues all but disappear on new and old players alike. Although the protocol does not parse XML, you can pass XML strings as an arguments in the API calls.
 
I have a 3 commercial Central applications that will ship in September that use the SYNC services and support IM/ Presence combined with real-time file exchange.
 
Much more to come...
 
Cheers,
 
ted ;)


0 Responses to “ PowerSDK SYNC Update ”

Post a Comment



© 2008 Ted On Flex