[flexcoders] Flex License(s) Performance

2005-07-19 Thread jwc_wensan
To All:

I have asked MM and have not gotten what I see as a reasonable
answer.  Their own website says that the typical application
would need 6-8 licenses.

Let's take this example server:

Dell Server @ 3.8 GHz with 1 GB RAM
JRUN4
Win 2000 Server
1 Flex license
MySQL database on same server

Assume sufficient internet bandwidth.

Using RemoteObjects for data access.

Do I need any other software?

With the above scenario how many simultaneous users can adequately
access the server before I would need a second server?  Or is it
better to ask how many per hour?

Would going to 2 GB RAM make any difference?

If I moved MySQL to another server, would that cause any major
issues?

Also, I read somewhere that RemoteObjects is faster.  Is it a
signficant increase?

Thanks in advance,

Jack




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Flex License(s) Performance

2005-07-19 Thread Dave Carabetta
I'll take a stab at a high level.

Comments inline below

On 7/19/05, jwc_wensan [EMAIL PROTECTED] wrote:
 To All:
 
 I have asked MM and have not gotten what I see as a reasonable
 answer.  Their own website says that the typical application
 would need 6-8 licenses.
 
 Let's take this example server:
 
 Dell Server @ 3.8 GHz with 1 GB RAM
 JRUN4
 Win 2000 Server
 1 Flex license
 MySQL database on same server
 
 Assume sufficient internet bandwidth.
 
 Using RemoteObjects for data access.
 
 Do I need any other software?

Well, you have Flex for your presentation tier and MySQL as your
database tier, but you need a middleware tier (ColdFusion, Java, .NET,
etc.) to communicate between the two. You don't write queries and
place them in your ActionScript/MXML code.


 With the above scenario how many simultaneous users can adequately
 access the server before I would need a second server?  Or is it
 better to ask how many per hour?

It's an annoying answer, but: It Depends. Seriously. How many users
will be accessing the application? What are they going to be doing? Is
it a public or internal site? There are so many project-specific
questions that are unique to your environment, that I defy anybody
external to your company and not familiar with what you're doing to
accurately give you performance statistics. And yes, that even goes
for Macromedia's own 6-8 licenses remark.

 
 Would going to 2 GB RAM make any difference?

If you insist on keeping the database on the same box as your
Flex/J2EE server, then absolutely, I would recommend going to 2 GB
RAM. I would not deploy a production-level Flex application with
anything less than 1 GB or RAM for the Flex instance itself. Again,
see above where I say that it depends on your requirements, but this
has been my experience.

 
 If I moved MySQL to another server, would that cause any major
 issues?

It shouldn't, and it's something I would recommend if you have the
infrastructure to accomodate the separation. Physical separation of
tiers is a good thing, as it can help eliminate critical points of
failure if a server dies.

 Also, I read somewhere that RemoteObjects is faster.  Is it a
 signficant increase?

I would read this blog entry and the Flex Server Performance article
it references, as there are some benefits to using ROs, but also some
gotchas:

http://tomlink.net/blog/index.cfm?mode=entryentry=DE53AA15-7E97-A3B0-E08327BED0699516

Regards,
Dave.


--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 




Re: [flexcoders] Flex License(s) Performance

2005-07-19 Thread Darron J. Schall
jwc_wensan wrote:

With the above scenario how many simultaneous users can adequately
access the server before I would need a second server?  Or is it
better to ask how many per hour?
  

See Ted's entry here about scaling Flex:  
http://www.powersdk.com/ted/2005/05/scaling-flex.php

I completely agree with him as well.  I don't have Flex running on the 
server at all.  Instead, I take my Flex-compiled .swf and place it on a 
typical web server.  Then, the Flex application is delivered as a .swf 
and there's no need for the server to do any extra processing at all.  
I've never had a server crash because it couldn't send out .swf files 
fast enough.  Keep in mind though, you'll need a Flex license for every 
server the .swf file sits on.

You can use RemoteObjects without a Flex server running as well, but 
you'll need to use another AMF gateway such as OpenAMF (or you can use 
ColdFusion).  If you use WebServices, you might need a little shim 
script to get around the security restrictions of the Flash Player 
(loading data across domains), depending on what server the web services 
are located on.

Also, I read somewhere that RemoteObjects is faster.  Is it a
signficant increase?

In general RemoteObjects are faster because it uses AMF, which is a 
binary format and much less verbose than WebServices.  It's hard to give 
a definite yes/no answer because I've actually seen results go both ways...

-d




--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/