Is this efficient?

I have a p2p game using the MUS xtra. There is a server
application that
one player runs, and then all players connect to the server.
A player
can send images to other players. When a player sends an
image to other
players it first goes to the server, which distributes it to
some or all
of the other clients.
Now, take the example of a player (one that is not running
the server)
sending an image to the player that is running the server.
The server
(which has a list of all connected users) sends the image out
to the IP
address of each player. Of course this would include the
person running
the server.
I am trying to understand, from a network perspective what
happens in
the case of the person running the server. The server is
sending the
image to an IP that is really the same one it is on. Is the
server smart
enough to recognize this? Or does it just send it out, going
out to the
users ISP which then routes it back to be received by the
client?
If this is the case, it would seem to be somewhat
inefficient. Could I
improve it in any way?

Yes, it can open routes via upnp, like e.g. bit torrent
clients do , long as
upnp communication is enabled on the router.
It has been under development for several years now, and it's
aim is to
transform director to a pro app/server builder.
Though networking will be one of it's most important
features, it's not the
only one. A beta version of it's unicode functionality was
available for
testing last year, under the name 'Xtrema'. Now that research
on most of
it's base components is finished, it shouldn't take long for
a new version
including the networking features to be released.
Since you are into mu programming, and case you want to give
the current
version a try, mail me off-list at xtrema at rtr d0t gr.
> one of the functions was the ability to automatically
configure routers so
> that they forwarded whatever ports that a program needed
Yes, amongst it's features is talking upnp and opening ports
- like e.g.
torrent clients do.
It has been under development for several years, and it's
goal is to
transform director to a very powerfull pro-app/server
builder.
"Dave C" <[email protected]> wrote in message
news:fh1suk$ss3$[email protected]..
> Thank you so much alchemist, that clears it up for me!
>
> By the way, as I recall some time ago you had started
working on a new
> Xtra that was supposed to offer many functions and
features. I can't
> recall specifically what it was called, but one of the
functions was the
> ability to automatically configure routers so that they
forwarded whatever
> ports that a program needed. Am I recalling correctly?
What is the
> status?

Similar Messages

  • JDBC adapter - polling application - is this efficient ?

    Hi,
    I have a scenario that is requesting data via the JDBC adapter from an SQL server system and sending the resultset into BW.
    This is polling every 10 minutes with the following statement :
    select * from itecs_dummy.dbo.action
    where current_timestamp between
    convert(datetime, (convert(varchar(13), GETUTCDATE()) + '23:40:00.000')) and
    convert(datetime, (convert(varchar(13), GETUTCDATE()) + '23:50:00.000'))
    This basically will return zero records 99% of the time as it check the system time is between 23:40 and 23:50
    Eventually I will have around 30 JDBC communication channels performing the same frequency of polling but read data from different tables (the system time check will still be the same for each select)
    Is this highly inefficent in XI terms ?
    Would it not be better to write a simple ABAP to request the data from BW to the JDBC adapter at a fixed time each day therefore cutting out the unnecessary polling ?
    Kind regards
    Colin.

    Hi Colin,
    The method you're using is really the only simple solution to workaround XI's lack of a scheduler.
    We have about 10 JDBC interfaces live for a year at a large XI client using this workaround. They're polling every 5 minutes and we've never had an issue.
    We decided to use this method based on the following:
    1) The load on the DB wouldn't be significant. Even if you have a complex DB select statement, the DB optimizes the call and should run fast if the 'where' clause fails. You can check this with your DBA.
    2) The load on XI would be greater if we implemented this in another way. Any other solution would likely require BPM which is much more intensive for XI then these JDBC calls.
    We chose 5 minutes instead of 10 because of the following scenario which could occur although it's not likely:
    - XI polls at 23:41, message is sent
    - XI J2EE goes down at 23:42 and restarts
    - XI J2EE back up at 23:47
    - XI polls at 23:47, message is sent
    So in this scenario, you could get 2 messages sent. Since our J2EE stack takes longer than 5 minutes to restart, we resolved this issue by using a 5 minute polling interval.
    I think the more elegant and precise way is to make a call from ABAP, but it would be more complex, and put more load on XI due to the use of BPM. If you take into account the above items I think your current approach is the best.
    Thanks,
    Jesse

  • Place background on each photo in an efficient manner?

    Say I have a bunch of pictures, and I want to place each of them on a certain (bigger) background, is there a way to do this in an efficient manner instead of opening up each photo and manually putting it on the background and then saving them individually?
    So for example, I have a bunch of pictures taken and they're say, 100x100. And I have this background that's say 150x150 and I want to have each photo with the background behind it. Is there any way I can do this efficiently?
    Photoshop CS3 on Windows XP SP3.
    Thank you!

    That's what actions are for. Read up on them.
    Mylenium

  • [C,Haskell] efficient low-level file concatenation

    The file "foo" has been split into
    foo.1
    foo.2
    foo.3
    foo.4
    To recreate "foo" on the command-line and get rid of the parts, you could do this:
    cat foo.* > foo && rm foo.*
    How would you do this efficiently in C or Haskell?
    Approaches
    create foo
    write foo.1 to foo
    remove foo.1
    write foo.2 to foo
    remove foo.2
    The data of each part is duplicated once.
    open foo.1 for appending
    write foo.2 to foo.1
    remove foo.2
    rename foo.1 foo
    The data of each part except foo.1 is duplicated.
    Both approaches require enough free disk space to accommodate the largest part.
    The best method that I can think of would be to instruct the file system to simply consider the parts as a single fragmented file in situ. This would avoid almost all disk IO and would remove the need for extra space. Are there system calls that can do that? If there are, please provide any relevant links that you have (documentation, tutorials, libraries). Searches for such calls have a low signal-to-noise ratio.
    If not, could the second approach be improved?

    @mikesd
    That is exactly what I want, but even if btrfs were ready now I couldn't assume its presence. Ideally I would want something universal but as that's probably impossible, I would need at least something that's part of the POSIX standard. I realize that the diversity of filesystems probably precludes this. I was hoping that there would be some common system call because most (all?) filesystems experience fragmentation, which must mean that they are able to specify non-contiguous regions on the disk as belonging to the same file.
    @itsbrad212
    I only listed the first method (creating an entirely new file) to provide a comparison to the second (which I will be using in the absence of something better). I just wanted to show what I meant by "efficiency" as the second method avoids moving around the bytes in foo.1.
    I agree that the difference is most likely negligible but I want something that can scale reasonably well (either to large files, or to multiple parallel operations). Besides, I find it conceptually attractive in general to minimize overhead. Even if it has no real practical effect, it's fun from a design perspective. I see programming as puzzle-solving most of the time.

  • Importing into Address Book with Custom Fields from a Text File.

    Hello
    I'm a teacher and like to create contacts for my students. The information that I want in each contact besides their name, email address and phone number are their
    student id's, semester enrolled, class number and class title. For these four fields I create a "Custom" field with the appropriate names: "ID", "Term", "Course" and "Class" respectively.
    All this information I can download from the school's server in a CSV file.
    To import the information into Address Book, I choose "File -> Import -> Text File" and then select the CSV file that I downloaded. The import utility opens up correctly showing all the fields I would like to import, however, many of the fields are marked as "Do not import." When I click on that term to select my Custom fields, they do not show up. Is this a bug or "feature" of the Address Book? It seems to me that if you are allowed to create useful custom fields, you should be able to import data into them as well.
    If I'm just ignorant of how to do this, I would appreciate some help. If there is no way to currently do this efficiently, it would be nice to have this feature added to the Address book in the near future.
    Thanks for your consideration,
    Gary

    Thanks for posting your question and the reply from rojok...
    I'm a teacher as well - in Entourage I was able to just copy a column of email addresses (say from an Excel spreadsheet, downloaded from the school's server here at U MD) and then create a group and simply paste that list into the group. Address Book makes you do the extra step of importing all the addresses first. (Note: Your last imported list of contacts in this manner shows up as "Last Import" in the groups lists column to the left in Address Book - so to add contacts to a Group there, you select that Last Import group, click once in that list column one contact, say, then select all of the list - then Command + A, for select all - then drag them all to your group you've made - i.e. "MySpringClassList"). This is NOT very intuitive I might add and incredibly cumbersome of a process.
    To get around the customizable info I needed to import... I just chose options that I don't regularly use for those things I needed to import - i.e. student I.D., these I placed under "ICQ Other" - that way they're imported at least.
    Good luck,
    Andrew

  • How to schedule a print job in Lion.

    I had snow leopard and when I upgraded to lion I can't figure out how to schedule print jobs. I use to be able to do work at night. Then print in the morning so I wouldnt disturb anyones sleep. How do I do it with Lion?

    I have to agree that it's lame not having the Scheduled Printing as an option. I will reiterate that I too enjoyed "completing" a task to print in the morning in order to not disturb others while sleeping.
    I've already sent Apple some Feedback. Hope it works and we can bring back this efficient option.
    Here's the link to the Mac OS X Feedback page: http://www.apple.com/feedback/macosx.html
    Cheers!

  • How do I add one event to multiple, but not repeating, dates

    I routinely need to add single events to 10 to 20 dates at once. These dates rarely line up in a repeating sequence. For instance I may need to schedule "appointment with John at 1pm" on M,Tu this week; W,Thu,Fri next week; M,Thu the following week. And "appointment with Jane at 10am" on M this week; Tu next week; Thu the following week.
    I know I can copy and paste identical text in one at a time on each date but this is tedious.
    Is there an app or trick I can use to do this efficiently? Previously I used an old version of Calendar Creator in which I could create an event and then push a toggle switch on all the days across a month in which the event would reoccur.
    Thanks! I'm new to Mac and iCal.

    Hello,
    Welcome to Apple Discussions.
    1. Make the first event in iCal when and how you want it.
    2. If you are not in month view, switch to it.
    3. Highlight the event in the calendar view and press Cmd-C (copy).
    4. Click on the blank area on a day you want to copy to.
    5. Press Cmd-V (paste).
    6. Repeat steps 4-5 for all needed dates.
    Best wishes
    John M

  • Best hosting plan for iMac and PC editing?

    I've been using iWeb for the past year on my personal site. I love its ease of use, not to mention how great everything looks.
    Now I want to start another site with a more commercial flavor. The big difference with this one, though, is that I need to be able to update my site on my iMac at home AND my PC at work. I've yet to find a hosting plan or program that will allow me to do this efficiently. I'm thinking a web-based file manager might be my best option, but maybe there is something else out there that would be better. Would FTP be better? I have some experience with file managers but absolutely no experience with FTP.
    This new site will mostly be set up in a blog style (several updates each day, permalinks, etc.), and I also want to be as flexible as possible in posting ads on the site. It seems some blogging software is fairly restrictive when it comes to ad flexibility.
    Anybody have suggestions as to what might work best for my circumstances? I would appreciate any help.
    iMac   Mac OS X (10.4.2)  

    I'm thinking a web-based file
    manager might be my best option, but maybe there is
    something else out there that would be better. Would
    FTP be better? I have some experience with file
    managers but absolutely no experience with FTP.
    Of course you can't use iWeb for your project, because it doesn't run on PC's, and you can't update an iWeb-created site without the app and the appropriate Domain file. So you presumably need to look at a cross-platform app like Dreamweaver.
    As far as uploading technology, web-based file managers provided by the host are usually very limited and not to be recommended. You should use a real ftp client to get the best results, and major apps like Dreamweaver have this built-in.
    Here's a list of Mac web editors. You might check to see which other ones have Windows versions.
    http://www.pure-mac.com/webed.html
    The host is pretty irrelevant if you go that route.
    Another option is to do everything on a site like Blogger, where you create your pages via a browser, rather than using a local web editor.

  • How to delete ALL photos in iPhoto Library that are NOT contained in albums

    I would like to delete all those photos in the iPhoto Library which I have NOT assigned to an album. How do I do this efficiently?
    And conversely: how do I delete from the Library ALL the photos that ARE contained in a specific album?
    Thanks in advance for any suggestions or pointers (to one or to both questions).
    Cheers,
    Veit

    Viet
    I would like to delete all those photos in the iPhoto Library which I have NOT assigned to an album. How do I do this efficiently?
    The easiest way is to put them into an album:
    New Smart album ->
    Album -> Is Not -> Any
    This gathers them together into an album. Then it's the same answer as the second question...
    And conversely: how do I delete from the Library ALL the photos that ARE contained in a specific album?
    Select the Album. Then to delete them select the pics and hold down the *command (apple) and option (or alt)* keys and hit the delete button. This will put them in the trash. Then iPhoto menu -> Empty trash.
    Regards
    TD

  • How to create a banner on every page

    Hi,
    I am creating my first website using iWeb. I have a banner that I want to display on every page of the site.
    At the moment this banner is created from 1 text box and 3 images. I am currently copying and pasting this banner onto every page. This does not seem to be efficient.
    I would like some advice as to how to do this efficiently, I would imagine there is some way of creating what I would call a 'header'?
    Thanks

    Hi mrtcornel, i used your suggestion on creating content on every page using iFrame and a footer page. I am trying to have a song clip play throughout my site. anyhow, got the footer page to work and it plays when publishing, but don't think i understand how to get it to play on other pages. i copied the iFrame html snippet and placed it on another page, but nothing happens when i publish. is that what i was supposed to do?
    thanks,
    troy

  • NOKIA OVI STORE SUPPORT - INEFFICIENT

    DEAR ALL
    I HAD DONE A PURCHASE AND THIS IS THE BELOW WHAT I GOT FROM THE SUPPORT
    - NOTHING YET YOU CAN KNOW IT FROM THE NUMBER OF "RE'S" ON THE SUBJECT OF THE EMAILS.
    GET ME THE LINK TO THE PROGRAM, BECAUSE I PAID FOR IT I WILL NEED TO DOWNLOAD IT.
    hi team
    I haven't got a reply from NOKIA YET as to what happened to my tiny teeny purchase for which NOKIA team is showing such timely inefficiency and the emails i sent to your email keeps bouncing back to me.
    I need the program at any ways since my child loves it
    expecting a proper reply soon.
    I will take this on facebook and youtube royally, if there is no action to this.
    thank you
    Joseph Varghese <[email protected]> wrote:
    From: Deepak joseph Varghese <[email protected]>
    Subject: Fw: RE: RE: RE: RE: Nokia Careline - Deepak Joseph - General Enquiry
    To: [email protected]
    Date: Thursday, April 7, 2011, 8:46 PM
    Dear Team,
    Please note the mobile number that I am using; (DELETED FOR PRIVACY)My mobile is Nokia N97 original 32gb
    Also team please note my credit card statement on which it shows that I have legally purchase it from Nokia OVI.
    Date of
    --- On Thu, 4/7/11, [email protected] <[email protected]> wrote:
    From: [email protected] <[email protected]>
    Subject: RE: RE: RE: RE: Nokia Careline - Deepak Joseph - General Enquiry
    To: [email protected]
    Date: Thursday, April 7, 2011, 5:45 PM
    Dear Deepak ,
    Thank you for emailing Nokia Careline.
    We sincerely apologize for any inconvenience and delay caused to you from our side, please confirm the phone number you are using.
    Case #  1-11593989435
    Should you require any further assistance, please do not hesitate to contact the Nokia Careline on 800-79-796, between 9am and 9pm (local time), Saturdays to Thursdays. For online assistance, please visit http://www.nokia.com/mea/contactus.
    “ Keep your phone software up-to-date by using the Nokia Software Updater. For more details visit Nokia Support and software at http://mea.nokia.com/support#. You can also go online to find user guides, troubleshooting support and other services to help you use your Nokia product”
    Kind regards,
    Adil
    Nokia Careline
    Nokia Middle East & Africa
    [THREAD ID:1-5B8N24E]
    Transaction
    09 Mar 2011
    Description of Transaction
    NOKIA INTERNET GBR
    REF.NO.35505511069010085336161
    So Please put it in my OVI account and let me know when i can download it again.
    Regards
    Deepak

    I feel the same.  I have sent support request to Nokia few weeks ago and did not get any response except the automatic reply when I lodged the support request.  There are much rooms for Ovi Store to come up with market place of competitor platform.  There are many posts in this forum stated their problem for re-downloading the purchased application.  The funny "SOLVED" solution in these posts seem to be "CONTINEOUS EMAIL" to Nokia Support.  Is this efficient support?
    angler

  • How do I speed up Lightroom on my new Mac Pro (2013)?

    I have tried everything suggested in the forums like running imports in parallel, etc., and all my data is on the super fast built-in PCI-Express SSD of the Mac Pro. However, I have numerous speed problems with Lightroom 5.3 (latest version) when importing and working with photos.
    Right now, here is what I am doing
    * Performing three parallel imports for maximum speed as suggested in September, 2013 (to supposedly boost input from 25% CPU to 60% on a multi-core machine).
    * Buildling 1:1 previews and all the other suggested official Lightroom Performance tips
    And what I am getting:
    * Between 11 to 15%  CPU utilization, even when running imports and building previews in parallel.
    * Data being read at only 2.5 to 6.5 MB per second.
    * When I look at images even after the previews have been built, I see a sharp image for about 1/100th of a second, then it blurs for about 3/4 of a second, then it sharpens up again in about one second, as if Lightroom is redeveloping it again despite having a 1:1 preview fully built.
    To my workflow, this is horrifically slow. I am tasked to go through about 5,300 sports photography images in an hour if possible, many taken at over 10 frames per second with a 1D X. To do this efficiently requires being able to INSTANTLY see the exact sharpness of a photograph, not being blurred for a full second, so that I can pick out the sharpest image from a burst of many images of each top play.
    I love the features of being able to flag/unflag with P and U, star with 1-5, go full screen with F, zoom with Z, crop with R, etc., but the productivity potential that those fantastic keyboards shortcuts have is being utterly defeated by the fact that Lightroom is going SUPER slow even on this brand new 6-core Mac Pro. It literally is much slower than using Picasa or FastStone on a cheap Core i3 laptop with a regular HDD.
    How can I configure Lightroom to use all six cores and more of the hard drive speed to speed up my workflow?
    Obviously, Lightroom should be able to do much better if it were using more than 15% of the CPU and more than 1% of the SSD capability.
    For me this is a SERIOUS problem and is preventing my new Mac Pro purchase from being any use to me. I am having to use other software right now to meet my production deadlines, and then go back through it later on Lightroom at a glacially slow pace. After a couple weeks of this duplicated workflow, I am just getting tired of it.

    Maybe you could help us help you by providing your systen details in full the location of your files.
    Thank you...

  • How to back up my external hard drive to another hard drive?

    So I dropped my external Iomega 1TB hard drive and now it wont allow me to back anything up however I can thankfully access everything in there.  Basically I read that I need to back THAT up and format it and start from scratch.  I sucked it up and finally bought a second External Hard drive a Seagate 1.5TB (great deal at costco BTW for $79).  So now I connected both to my MacBook and tried to copy everything in my iomega to paste it to the seagate and I got the error message "The volume has the wrong case sensitivity for a backup."  What does that mean?  How do I do this efficiently? 
    I greatly appreciate any info!  Thanks in advance!!!

    I've not seen that error message but did you partition and format the new hard drive for use with Macs? It needs to be partitioned with the GUID scheme and formatted as Mac OS Extended Journaled. If you have a lot of data on the original drive it's best to not try to copy it all at one time, of there are separate folders copy them one or two at a time. If your original drive is a Time Machine drive it's more complicated than simply copying and pasting http://pondini.org/TM/18.html

  • Hyperlink in Reminder App

    How do I disable hyperlink in Reminders?

    I am having this same issue and am SHOCKED at the bugginess of ios 7 reminders when used with Exchange.
    I am a power Outlook user and the only thing that kept me using the iPhone after all these years was the seamless compatibility with Outlook/Exchange Tasks.
    When I create a new reminder in the app, it often overwrites the last reminder, creates a duplicate in title and keeping the parameters of the last reminder on the list.  This is a disaster!!!  I am losing reminders, all of which could be critical to the running of my business and personal life.
    I am also unable to create new lists at all, i.e. when I click on the "+" button, I am not able to tap on "New List," when I do so it simply returns me to the list of tasks.
    Also the fact that I have to scroll to the bottom of my list of tasks to add a new one ... what????  I have hundreds of tasks as well, this is completely ridiculous.
    One of the things I loved about ios 6 was how easy and quick the reminders app was, I use it all day and with the old version I could very quickly open, create a new task, and save.  With the ios 7 version all of this efficiency and ease of use is gone.
    In my opinion, ios 7 reminders is completely useless to business/Exchange users right now.  I am HUGELY dissapointed and must find a third party app or am even considering switching to Android if this is not resolved.
    C'mon Apple!!

  • Directory structure mirroring

    I have my mp3:s neatly organized in a directory structure on
    my disk. There's where I'd like to add and remove albums,
    and would like the itunes music library to automatically
    update when I make changes.
    I.e. if I add albums on my disk, I'd like them to appear in itunes (and on the ipod when syncing).
    And if I remove albums from my disk I'd like them to
    automatically disappear form itunes and the ipod.
    Can I make Itunes work like this? I dont like to make all
    changes twice, i.e. deleting both from the disk and then in
    itunes. This gets especially irritating when moving many
    albums.
    Ideas? Cheers / Tom
    Dell XPS PC   Windows XP Pro  

    You need to create a form and assign it to the reconciliation process. In the form, you need waveset.organization set to where you want the user objects placed. By default, waveset.organization is set to just "Top". You can get the DN, parse it into a list and write the xml code to use the list to place each in a different virtual organization.
    Start off simple, say create a container called Top:newusers. Take a copy of Empty Form and save it as orgEmpty Form or something. Define a field waveset.organization and just set its value to "Top:newusers". Then in the resource, set the reconciliation form to your new form.
    Try this, once you see new ids show up in Top:newusers, you then can enhance the logic to be more sophisticated in placing objects. That is, parse the DN into a list and walk the list for a IDM waveset.organization value.
    BTW, a good question to ask prospective IDM so called experts. Of 8 or so, I only met one that new how to do this efficiently.

Maybe you are looking for