Need help in choosing the best design approch

Dear helper,
I have assigned enhancement project for old system.
the old system divided into three pakages:
1. listener : listen to a data feed from a gateway using socket
2. analyser: connects to the listner and analyse the feed using some basic string processing like substring() method.
3.datamanger: connect to the analyser and write the analysed feed to a database server.
as you notice this design depends on client- server Architecture, each package composed of two components : client and server( reader and writer)
the proplem is the feed come from the gateway is two fast than the reading and writing process of the system. who can i make compremised solution so that i can balance the process of reading and writing with the feed speed
thanks

Use queues buddy.
Put data that you read into a queue....
let another process process it and write it into another queue
and yet another process to write the processed data into its destination.
ie a process that does reading only
and a process that does writing only.
this will help you solve the speed problems.
Kenney

Similar Messages

  • Need help in choosing the best laptop

    I want the best laptop for running Windows Server/Client, Linux/Unix and VMWARE.

    I am looking to switch from a desktop to a laptop what would people suggest. I would need something that could handle heavy graphics and a lot of ram.

  • I need help on choosing the main board

    hey guys
    i want  some help
    Is it worth changing my mother board to a KT6delta FISR
    Present Mother Board-------KT3 ultra ARU

    That would depend upon whether you need/want the extra features of the KT6 Delta FISR. The KT3 board you have should be capable of handling up to the 3000+ @ 333FSB with the latest BIOS & PC2700.
    If the SATA and other extras of the KT6 are what you are looking for, then yes. If you are just wanting to add a faster CPU, the KT3 can handle almost as fast as the KT6.

  • I need help figuring out the best way to convert analogue video to DV so that I can edit it.

    I have a large number of VHS and hi8 tapes that I want to convert to high quality DV.
    I have a couple of options. One is an Elgado Video capture system.
    The other is a Sony Digital Media Converter Box (DVMC-DA2).
    I have tried a few of the less important tapes using the Elgado Video Capture system. It only allows you to convert to MPEG4 or H.268. It is not very good quality, especially for archival items or items I would later wish to edit.
    I also have the Sony Digital Media Converter Box. I have heard that this is a superior option. So far, though, I have only been able to figure out how to import using an old version of iMovie HD. This makes a large imovie project file (approximately 6.18GB for a 28:30 clip vs a 348.9MB for an MPEG4 using delgado.
    On top of that to convert the file from an iMovieProject file to DV is an additional step that so far looks like will take a half an hour at best.
    Is there any way for me to import VHS/hi8 tapes using the Digital Media Converter Box to creat high quality DV files directly? If so, where can I find this info? What steps should I take and what are the settings I should use.
    I have a lot of tapes so I want to figure out the right and most efficient way to do this because I will be repeating it a bunch of times and would hate to have to start over again.
    I should also mention that I am using a Mid 2010 MacBook Pro, with OSX 10.9.1
    I'm sorry in advance if this seems like an obvious question, but I have been googling and looking at tutorials on the site and just have not found the answer. There are a lot of ads for expensive low quality services to do this converting for you, so maybe the answer I am looking for is burried in all that advertising.
    Thanks

    Thanks Biggles and Gotz. I just couldint find capture, but now I can! (It was right under my nose too).
    I'm trying it now and it appears to be working. Do you have any other recommendations for capturing from hi8 video source as far as setting go? I am using DV to capture. Are there any other settings I should pay attention to?
    There is an extra line of video noise at the bottom, but when I google it, it sounds like it won't show on most standard tvs and if I want to fix it for online, that I should mask it after the fact vs scaling up the video.

  • Need help - what is the best way to move CS5 from my old XP machine to a new Win 7 64 bit platform?

    Is there a preferred method to do this?

    While saving your actions and brushes into files that can be loaded into the new installation is a good idea, I'd STRONGLY recommend against trying to copy your settings (i.e., the "internal" settings files) because they might have machine-specific stuff in them that will cause heartburn on the new machine.
    Here's an idea:
    1.  Install Photoshop CS5 onto your new system.  You get two activations with one license, so there's no rush to deactivate the old one just yet.
    2.  Set up your workspace the way you like it on your new system, and save it as a named workspace.
    3.  Methodically go through all the settings (Edit - Preferences, and the fly-out menus on the panels) on the new system. 
    4.  Jot down all the changes you make so you can do it again if ever you should need to.
    5.  Keep both machines for a little while so you can go back and see the old settings if something seems different.
    6.  Deactivate Photoshop on the old system before permanently retiring it.
    -Noel

  • Help me choose the best MP3 from Creative!

    Hi all
    My beloved ancient Creative Zen is giving up the ghost after 4 years' loving service and I'd like another one. I just want a music player - no need for photos or movies, and I would like 20gb memory. I'm finding the array of products by Creative bewildering and would appreciate some recommendations as i would really like to stick with Creative.
    Thanks!

    Ellymoo wrote:
    Thanks for your detailed reply! My old player (the very basic Zen) is starting to wear its battery down very quickly and freezes a lot, particularly if I try to change songs soon after I have turned it on. I can reboot it, but it takes a while and I know there isn?t much life left in it. Plus I can't upgrade it to work alongside Vista! I don?t know if I could update the firmware, sounds a bit out of my league! That ebay seller has a good feedback record but alas only sells to USA. I can't find a Creative VM on Amazon at all so I suppose they are too old to be listed? If I have to have one with video capability then I suppose I can just ignore that bit! But I was hoping to get a sole music player for a little less money. I suppose the Creative Xtra from Amazon, while secondhand, might still be worth investing in in the short term as it'ss not expensi've and the seller of the product has good feedback. How difficult is it to update firmware, please?
    Is this what your player looks like? http://cgi.ebay.com/Creative-Nomad-Jukebox-Zen-with-20GB-hard-dri've_W0QQitemZ2003434505QQcmdZViewItemQQptZOther _MP3_Players?hash=item2ea565e90b&_trksid=p3286.c0. m4&_trkparms=66%3A4|65%3A0|39%3A|240%3A38|30%3A0|2 93%3A|294%3A200? If so the battery & the hardri've can be changed for alot less than a new player. It can be used with Vista just can't sync with WMP (drag & drop thru Nomad Explorer) As for the Xtra you must have XP/SP2 WMP0 installed to upgrade firmware. Lots of people have problems doing it.& brick their players. You may still want to contact the Ebay seller & ask if he is willing to ship to you. The worst he could tell you is no.Where are you located? You can probably find one just may take a little more digging

  • Help With Choosing The Technology

    Hello,
    I need help in choosing the appropriate technology for the application that I'm going to be creating.
    The characteristics of the system that have been decided until now:
    Standalone app built on either Flex/Flash/AIR
    Restricted to using the system on a single computer, hence can be a tightly coupled system
    The server component of the system needs to be closed source and robust, for which im thinking something like a Java backend,etc,etc.
    In a completely new environment, all that i need to be able to do is install just the AIR application and not worry about installing extra stuff for the server support.
    Thanks In Advance for anyone who can help me out with this.

    If you are saying you want the server component to be on the same machine as the Flex app, then your choices are severely limited due to the sandbox, unless of course you are using AIR, then you can just use the SQLite database.
    But if there will be a sevrer component on another machine on the web, you could use BlazeDS, and like I said, its free and very robust.
    http://opensource.adobe.com/wiki/display/blazeds/download+blazeds+3
    http://learn.adobe.com/wiki/display/Flex/Creating+a+BlazeDS+web+service+application+in+Fle x+Builder
    http://learn.adobe.com/wiki/display/Flex/Creating+a+BlazeDS+messaging+application+in+Flex+ Builder
    http://sebastien-arbogast.com/2008/04/10/flex-spring-and-blazeds-the-full-stack/
    If this post answers your question or helps, please mark it as such.
    Greg Lafrance - Flex 2 and 3 ACE certified
    www.ChikaraDev.com
    Flex / AIR Development, Training, and Support Services

  • I have tried everything I know to retrieve the iPhoto Library app.  I detest this new Photo app, which obviously wasn't designed with photographers in mind.  I desperately need help in retrieving the old app and have not been able to do it so far.

    I have tried everything I know to retrieve the iPhoto Library app.  I detest this new Photo app, which obviously wasn't designed with photographers in mind.  I desperately need help in retrieving the old app and have not been able to do it so far.  I have gone to my app folder and tried to update my iPhoto Library.  I have gone to my trash and brought it over to my desktop and still cannot use it.  Please help!

    Try this fix discovered by User photosb189:
    From Finder, hold down the option key on your keyboard and click on the Go menu at the top of the screen
    Select Library from the drop down menu
    Then navigate to Application Support > iLifeAssetManagement > assets
    Right click on the 'sub' folder and choose Compress
    Drag the resulting zip file to your Desktop (as a backup)
    Go to your System Preferences and choose iCloud
    Turn OFF the iCloud Photos option
    Go back to Library > Application Support and DELETE the iLifeAssetManagement folder
    Now, in System Preferences, turn the iCloud Photos option ON
    iPhoto should now be able to launch. Give it enough time to re-download your Photo Stream content. if you are missing any of your My Photo Stream photos (more than 30 days old), unzip the sub folder on your desktop and drag that into iPhoto.

  • Need a recommendation for the best LP turntable to transfer lps to iTunes library...recieved a SONY that is recommended for windows only. Have a brand new SONY ps-lx300USB recieved as a gift that only says they will not guarentee results w/ mac.Help.

    Need a recommendation for the best LP turntable to transfer lps to iTunes library...recieved a SONY that is recommended for windows only. Have a brand new SONY ps-lx300USB recieved as a gift that only says they will not guarentee results w/ mac. Please Help.

    Just use that turntable with -> Audacity

  • I need help understanding how the Apple components integrate to create a system across all my devices?

    I need help understanding how the Apple components connect to create a whole system across all my devices?
    Is there a resource that describes current system and associated functionality?
    For example:
    Buy A, B, C to achieve "X" 
    You will need:
    an internet provider which supports <specs>
    add D to achieve "Y"
    You will need:
    an internet provider which supports <specs>
    add "E" to achieve "Z"
    You will need:
    an internet provider which supports <specs>
    For example, I am looking at the Gen 6 Airport extreme.  For intended performance do I need broadband? if so what are the specs, or will basic internet service suffice?  Do I need the internet provider's modem or does the Airport extreme replace that?  And then I think, if I am doing this, I should also look at Apple TV....What do I need and Why?  Then I look at the New Desk top coming out in the fall, and I think well, if I wait and get this, what does this component do for the system, and what becomes redundant? What does this awesome desktop do for my ability to sit and use a new macbook air when I travel  or sit on the couch in my PJs?
    If there was a place that plainly stated "if you buy the new dektop you can configure a system including only these components and achieve <this result> and by adding <additional components> you will achieve this result.
    I have been to the genius store a few times, but I come out of there more confused unless I have SPECIFIC questions or already know what to buy. 
    A "System Configuration App" would be a really great sales tool--Just saying.

    I have no idea what "fully optimized" means.
    No Apple device will let you watch broadcast TV. The Apple TV is a good option for watching streaming TV from iTunes, NetFlix and Hulu. If you want to watch from other sources, you may need to look at other devices.
    Any Mac computer or iPad will allow you to surf the web.
    What business software?
    Time Capsule is a good option for back ups.
    Update what across all devices?
    For accessing documents from all devices, a service like Dropbox is your best bet.
    I have no idea what "step as far away from an internet provider as possible" means. If you want Internet access, you need an Internet provider.
    Lighting fast speed for what? Processor? The specs are listed for all devices in the Online Store. Internet? We're back to the service provider.
    Technology changes. The only way to keep pace with it beyond a couple of years is to buy new stuff.
    The bottom line is you need to look at the specs for devices availble and at your budget and decide what best meets your needs. If you are unable to do that on your own, there are lot of technology consultants out there who will, for a fee, look at your exact situation, make recommendations and even handle the purchase and set up. Perhaps that would be the best route for you.
    Best of luck.

  • Need help to trace the place where error occuring in Web UI of type System

    Hi All,
    Need help to trace the place where error occurring in Web UI of type System error,
    this error coming while saving the corporate account creation,
    error message description : - System error: Interruption in Routine READ TABLE GT_CHAR_VAL, CHAR_NAME = PVTLTD_CLEAN_SEGMENT
    System error: Interruption in Routine READ TABLE GT_CHAR_VAL, CHAR_NAME = PVTLTD_CLEAN_CLASS-CP
    thanking you.
    Best Regards,
    VijHyd

    Hi Nagaraj,
    See that the mandatory SICF setting are enabled or Active in the SICF Services.  Follow the steps as below:-
    Enter the TCode SICF
    Execute the same for Hierarchy Type SICF.
    Check the following SAP Note 1295006.
    If every thing is Active then, the IC Agent role will open.
    Still if it is not opening Let me know.
    regards,
    Sarangamath

  • What is the best design pattern for this problem?

    No code to go with the question. I am trying to settle on the best design pattern for the problem before I code. I want to use an Object Oriented approach.
    I have included a basic UML diagram of what I was thinking so far. 
    Stated simply, I have three devices; Module, Wired Modem, and Wireless Modem.
    In the Device Under Test parent class, I have put the attributes that are variable from device to device, but common to all of them.
    In the child classes, I have put the attributes that are not variable to each copy of that device. The attributes are common across device types. I was planning to use controls in the class definition that have the data set to a default value, since it doesn't change for each serial number of that device. For example, a Module will always have a Device Type ID of 1. These values are used to query the database.
    An example query would be [DHR].[GetDeviceActiveVersions] '39288', 1, '4/26/2012 12:18:52 PM'
    The '1' is the device type ID, the 39288 is the serial number, and the return would be "A000" or "S002", for example.
    So, I would be pulling the Serial Number and Device Type ID from the Device Under Test parent and child, and passing them to the Database using a SQL string stored in the control of the Active Versions child class of Database.
    The overall idea is that the same data is used to send multiple queries to the database and receiving back various data that I then evaluate for pass of fail, and for date order.
    What I can't settle on is the approach. Should it be a Strategy pattern, A Chain of Command pattern, a Decorator pattern or something else. 
    Ideas?

    elrathia wrote:
    Hi Ben,
    I haven't much idea of how override works and when you would use it and why. I'm the newest of the new here. 
    Good. At least you will not be smaking with a OPPer dOOPer hammer if I make some gramatical mistake.
    You may want to look at this thread in the BreakPoint where i trie to help Cory get a handle on Dynamic Dispatching with an example of two classes that inherit from a common parent and invoke Over-ride VIs to do the same thing but with wildly varying results.
    The example uses a Class of "Numeric"  and a sibling class "Text" and the both implement an Add method.
    It is dirt simple and Cory did a decent job of explaining it.
    It just be the motivation you are looking for.
    have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this?

    I am moving from Southern California to Maui, Hawaii and I need to figure out the best way to get my 24 inch iMac across the ocean. Does anyone know the best way to do this? I have found GearGrip's LCD harness so that I can do carry-on onto the plane...  Or maybe use a Pelican Case to do it as a "checked bag"? Or any other suggestions??! Please help!
    Thanks so much!!

    I don't recommend you send the iMac in a checked bag. Might get damaged.
    Check the airlines website for carry on guidelines.
    Or, if you have the original box that the iMac came in, if you have someone who can pick up the iMac for you, send it ahead Fed Ex and insure the package.
    Just make sure the display is covered to protect it. A blanket perhaps.
    Aloha ...

  • What is the best design pattern for top-down ws development..?

    Hi,
    What is the best design pattern for top-down development+ wsdl2service....?

    elrathia wrote:
    Hi Ben,
    I haven't much idea of how override works and when you would use it and why. I'm the newest of the new here. 
    Good. At least you will not be smaking with a OPPer dOOPer hammer if I make some gramatical mistake.
    You may want to look at this thread in the BreakPoint where i trie to help Cory get a handle on Dynamic Dispatching with an example of two classes that inherit from a common parent and invoke Over-ride VIs to do the same thing but with wildly varying results.
    The example uses a Class of "Numeric"  and a sibling class "Text" and the both implement an Add method.
    It is dirt simple and Cory did a decent job of explaining it.
    It just be the motivation you are looking for.
    have fun!
    Ben
    Ben Rayner
    I am currently active on.. MainStream Preppers
    Rayner's Ridge is under construction

  • I need help to remove the wrong email on my Iphone.  I can't down load app because my apple ID doese not match with the wrong email please help

    I need help to remove the wrong email on my Iphone.  the represnter who set up my phone put in the wrong email, and now I can't down loand apps on my phone because the apple ID does not match

    So sign out of the Apple ID under Settings > iTunes & App Store, then sign in with your own.

Maybe you are looking for