manish

Plastic 6

19 posts in this topic

Hello, I loved the almost weekly releases for plastic, but I've noticed it's been almost a month since the last one. It appears the weekly releases have been going on in the Labs sections for Plastic 6. I've tried to search for documentation or notices about version 6 but my searches have been unsuccessful aside from a few forum posts with people trying it out. I'm not sure if it's really not there or my searching is incorrect.

Is there a launch date for version 6? Aside from having to parse through tons of labs release notes,  is there any documentation on what it's all about, the jet engine underneath is all about and options for porting (without having to download and try it out blindly first)?

We love plastic but I feel lost suddenly on whats happening or about to happen.

Thanks!

Share this post


Link to post
Share on other sites

Hi!

Yes, 5.4 is done now, and all the efforts are in 6.0, and in fact we are creating daily releases now, although we are not publishing all of them (so far).

 

You can follow what is going on in @plasticscm on twitter. There we announce releases, blogposts, screenshots of new features, etc.

 

6.0 is perfectly fine for production at this point. Some of our biggest customers are already on it.

 

We have marketing work to do to announce everything. And we are almost done with the features. In fact we recently announced the new main window layout for Windows, and the 4K support is ready too :-)

 

Thanks!

 

pablo

 

Share this post


Link to post
Share on other sites

Thanks for the response! I've been keeping up with the blog and things. I guess what I was looking for is the "official" stuff which you said is yet to be announced.

I did have some follow-ups regarding Jet after re-reading a lot of stuff.. We use Plastic server on a Linux box with a MySQL database. Our main repo (Unity3D) is about 5 gigs and growing. We can easily see it get to 10 gb.

With that said...

1. Is Jet going to be better for us on Linux than using MySQL? Or is MySQL still better for our setup?

2. Is there a Jet db conversion tool for Linux?

Thanks!

-manish

Share this post


Link to post
Share on other sites

Hi manish!

On 4/26/2017 at 11:46 PM, manish said:

1. Is Jet going to be better for us on Linux than using MySQL? Or is MySQL still better for our setup?

Yes! Much better.

The write/read speed for the Plastic SCM blobs is going to be much faster and you'll notice even more once your database start growing.

On 4/26/2017 at 11:46 PM, manish said:

2. Is there a Jet db conversion tool for Linux?

Not for Linux :(. You can setup a parallel server service (not a machine, just the daemon) using Jet and replicate from one server (mysql) to the other (jet). Really easy, I can help you with that, it will take 5-10 minutes.

Share this post


Link to post
Share on other sites

Great thanks @manu, one more question....

Is there any significant performance difference between running Plastic with Jet on Linux over Windows?

For various reasons, we are entertaining moving from Linux to Windows but not if there'll be a big hit...

thanks!

Share this post


Link to post
Share on other sites

Hi Manish,

yes, Jet + Windows is our preferible choice, a good IO and CPU will also help!

We always get better performance test on Windows, .net framework seems to be one step ahead mono framework.

Share this post


Link to post
Share on other sites

I'm in a similar position and would love to know how to migrate to Jet. Is it simple enough that you could put it in this forum or another how-to, or is it a more complicated procedure that is specific to the individual installation?

We have about 1.6 terabytes in Plastic (using MySQL) distributed among a bunch of repositories. Is Jet still a good choice for this case?

Share this post


Link to post
Share on other sites

Sure it is! Telltale Games is using Gluon with a bigger database (3-4 TB). The used to use MySQL and now performance is much better!

How many developers/artist are using Plastic? Are you using Windows or Linux for the Plastic SCM server?

Share this post


Link to post
Share on other sites

Right now it's just myself, the server is running on Linux. Performance is great as-is, but it seems like I can't upgrade MySQL without having something go wrong so if I could have an easier upgrade process and even better performance it seems like a no-brainer.

Share this post


Link to post
Share on other sites

In your case, as you are using a Linux server you can't use the admin tool (We are working to have a proper admin tool for all the supported platforms).

So the alternative consists in installing another server, on windows or Linux, it really doesn't matter and set it up to use Jet as the database backend (create an empty "jet.conf" file at the server directory and that's it). Push your data to the new Jet server using the replication. Once you are confortable with the Jet content you can move the databases to the original server and use it or keep the new one.

If you want I'm available for you to get connected, set everything and explain in detail the process.

Share this post


Link to post
Share on other sites
37 minutes ago, manu said:

In your case, as you are using a Linux server you can't use the admin tool (We are working to have a proper admin tool for all the supported platforms).

So the alternative consists in installing another server, on windows or Linux, it really doesn't matter and set it up to use Jet as the database backend (create an empty "jet.conf" file at the server directory and that's it). Push your data to the new Jet server using the replication. Once you are confortable with the Jet content you can move the databases to the original server and use it or keep the new one.

If you want I'm available for you to get connected, set everything and explain in detail the process.

HI @manu, thanks! I think i may be able to do the replication, that's using the setup in the docs right?

My only question is about setting up the second server on the new target windows box. Do I need a second plastic license to do that? I believe we already used up a free 5 day trial on it when we were first playing around.

Share this post


Link to post
Share on other sites

Not at all! Please reuse your current license for the new server :)

Please keep me posted with questions, I'll be more than happy to help you with the migration.

Share this post


Link to post
Share on other sites

Is there any information on the jet.conf file? I need to make sure all storage is done in a specific directory (which is where the large virtual disk is mounted) so I'm guessing I'll need to configure that correctly for the jet backend?

Share this post


Link to post
Share on other sites

Hi!

let me explain you what you can configure:

* basepath: The base path directory for the Jet database files.

* prefix: prefix to be added to the db files

* suffix: Suffix to be added to the db files

* maxcachedtrees: Max value of trees (changeset strucure) to be cached in RAM.

* highperf: Will perform better but will use more resources as well.

* datafilesize: Used to split the blobs (where the revisions content are stored) file in pieces based on the size you set here (GB).

Hope it helps!

Share this post


Link to post
Share on other sites

Great!

Keep us posted with the migration results! We'll be happy to help if you have questions.

Share this post


Link to post
Share on other sites

manu,  is there a well-known solution to replicating *everything* from one server to another?  If so, could you share it? Right now I am considering writing a script using a combination of 

cm lrep ...
cm find branch ...
cm replicate ...

to replicate everything.  However, I do not want to "re-invent the wheel"

Thanks.

 

Share this post


Link to post
Share on other sites

Hi!

you can use the SyncView: http://blog.plasticscm.com/2011/08/this-is-how-i-use-synch-view.html

And if you need to use the CLI then RepliKate can help you: blog.plasticscm.com/2012/02/after-accidentally-cloning-sexy.html

RepliKate basically does what your script is going to do, you can modify the RepliKate source code if you need to behave differently.

 

 

Share this post


Link to post
Share on other sites

My migration went fairly well, though it would be nice to have a dedicated tool for Linux to change databases.

I had 130+ repositories so I created a shell script to call the RepliKate tool for each. On Linux you can use the mono installed in the Plastic directory to run RepliKate. It does have trouble (at least on Linux) with spaces in the names of repositories.

I had trouble with timeouts on the database it was reading from (MySQL). Oddly I had this even when trying to replicate in the windows GUI on some of the problematic repos. Maybe it's a hardware / disk capabilities problem?

Ultimately I ended up writing a Python script to more or less do what RepliKate does but with added function to save which repositories had errors so I could try them again.

Still working on a few of the last problem children, but it's mostly done.

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now