Xsanity Sanity for Apple's Xsan and Final Cut Server.
  
Wednesday, May 22 2013 @ 09:17 AM EDT
Topics
Storage (39)
People (1)
Xsan (103)
How To (26)
User Functions
Username:

Password:

Don't have an account yet? Sign up as a New User
Who's Online
Guest Users: 10
Sponsorship

Xsanity is proudly sponsored by:

Tekserve
The Old Reliable Mac Shop

Scalability and performance

 
Post new topic   Reply to topic    Xsanity Forums Forum Index -> General FCS Discussion
View previous topic :: View next topic  
Author Message
peterk
Could work for Apple
Could work for Apple


Joined: 18 Mar 2008
Posts: 50

PostPosted: Thu Mar 19, 2009 1:59 pm    Post subject: Scalability and performance Reply with quote

Hello,

I would like to use FCS in a big project where more then 10.000 assets is planned to be in a FCS Library. I know FCS uses postgreSQL running on localhost as the DB engine. I would like to know:
1. What are some "standard" limitations of postgreSQl running on one dual CPU Xserve ? (How many clients, how many assets, etc.)
2. Is there any way how to use a separate machine with postgreSQL running on it and rest of FCS running on main machine ? I mean, if I could build a external postgreSQL server(s) and if I could connect FCS to it.
3. What about redundancy? Is there any known setup how to run two (three) FCServers in a parallel with automatic DB synchronization and some failover mechanism ?

Thank you.

Peter
Back to top
View user's profile Send private message
Tim Burton
Xsan Master
Xsan Master


Joined: 04 Aug 2006
Posts: 260

PostPosted: Thu Mar 19, 2009 7:55 pm    Post subject: Reply with quote

All of the above is possible, however it could be causing yourself ball ache unneccisarily. 10,000 really isnt that much when comapred to systems in other sectors.

1 Box FCSvr is essentially doing:
• DB managment and lookups
• Data Movement

• Encoding
• NAS for proxies
• NAS for media to non Xsan clients
• OD Authentication

So i would look to be moving the tasks that can be moved without hacks onto other servers (italic items need to stay on the FCSvr), with a XSAN backbone between and possibly the clients. With one of the servers as a warm standby. For example:

Server 1 - FCSvr
• DB managment and lookups
• Data Movement[/list]

Server 2 - MDC
• XSAN Controller (primary)
• NAS for proxies & non Xsan clients via 'Edit in place' (load balanced via DNS)
• Compressor (debatable)

Server 3 - BMDC & Compressor
• XSAN Controller (secondary)
• Compressor
• NAS for proxies & non Xsan clients via 'Edit in place' (load balanced via DNS)
• FCSvr Loaded but inactive
• HDD with FCSvr backups to restore from in event of server 1 failing

Server 4/5/6 - Compressor
• More comrepssor hoursepower should you feel you need it Very Happy

Hope thats not too obvious an answer, and I love a good tinker, but I think seperating FCSvr from its DB with a custom install would cause issues down the line with upgrades and support. I have built systems where Linux boxes are the MDCs and doing all the heavy NAS lifitng.

Tim
Back to top
View user's profile Send private message
CharlieM
partially protected
partially protected


Joined: 10 Apr 2009
Posts: 6

PostPosted: Mon May 04, 2009 11:46 am    Post subject: Max number of assets Reply with quote

Following up on the question: has Apple published technical specs on how many assets are supported by FCSVR? Couldn't find any online or in the documentation.

If this is a limitation of the PostgreSQL database, it would be great to know the limitations to answer questions about scalability.
Back to top
View user's profile Send private message Visit poster's website
soward
Could work for Apple
Could work for Apple


Joined: 30 Dec 2007
Posts: 42

PostPosted: Mon May 04, 2009 5:12 pm    Post subject: Reply with quote

I am not that familiar with the inner workings of FCS, but postgreSQL is most likely not a limiting factor. Here are its core limitations (from their site):

Limit Value
Maximum Database Size Unlimited
Maximum Table Size 32 TB
Maximum Row Size 1.6 TB
Maximum Field Size 1 GB
Maximum Rows per Table Unlimited
Maximum Columns per Table 250 - 1600 depending on column types
Maximum Indexes per Table Unlimited
Back to top
View user's profile Send private message
BenT
Knows DNS is the answer
Knows DNS is the answer


Joined: 12 Jun 2007
Posts: 39

PostPosted: Mon May 04, 2009 5:59 pm    Post subject: Reply with quote

We have recently found that Final Cut Server with a large number of assets performs MUCH better after making the following Postgres tweaks:

Use root to edit:
/var/db/FinalCutServer/data/postgresql.conf

Backup the database, stop FCSVR, ensure POSTGRES processes stopped.
Change the .CONF file values:

shared_buffers -> 256MB
work_mem -> 128MB
maintenance_work_mem -> 128MB

Restart FCSVR (just press START in the System Prefs pane) and you should find search times are much better.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic    Xsanity Forums Forum Index -> General FCS Discussion All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


Powered by phpBB © 2001, 2005 phpBB Group
Best Viewed on a Mac | Suggested Browser: Whatever floats yer boat.