Archive for February, 2012

Freeing up memory in PowerShell using garbage collector

Just got this great tip from Lars on how he reduces memory consumption in his AD PowerShell scripts with a simple garbage collection call (basically explicitly telling .NET behind PowerShell to recycle the objects no longer in use):

Using Quest AD tools I often run in to memory consumption problems. I thought it was a question of memoryleaks, but its not, its the Garbage collection that doesn’t get collection until its to late.
So i’m using this when I use Quests AD Management Cmdlets in PowerShell, where $i is a simple counter

if (($i % 200) -eq 0)
{
[System.GC]::Collect()
}

Hope that helps!

Jump They Say: off to a start-up

Jelastic - Java host, PaaS, cloud hostingAfter many years of having a blast at Quest Software – which has been a great employer for me, supporting the craziest ideas like betting on that monad thing, you know ;) – I finally decided to push myself way beyond my comfort zone and join a start-up.

As you probably know, for the last few years I have been deeply fascinated by the cloud transformation happening to the industry. And if you know me, you probably have also noticed my constant desire to be on the edge of technology and entrepreneurial spirit. These finally collided with Jelastic – one of the most exciting start-ups I have ever seen.

I have for a long time thought that current cloud computing is somewhat broken. On the one end of the spectrum, you can use IaaS like Amazon Web Services that can surely give you lots of VMs fast, but then expect you to spend hours being the admin configuring and maintaining them. On the other end, you can go with, say, Google App Engine or Heroku, but in return for the admin tasks lifted, you get tons of restrictions which pretty much make you re-write your applications. And then you get stuck with the platform vendor and “hoster” being the same company – so if you don’t like the service or it is not available in your geography – you are stuck.

These limitations always struck me as false dichotomy, and now Jelastic is trying to make meaning here, offering a PaaS that indeed does all the environment configuration (including tricky stuff like setting up high-availability clusters with session replication, etc.). Yet, there are no limitations or restrictions: you still gets real actual standard application servers, have full control over their configuration, can upload any additional libraries that you need, and so on – so no code changes are required.

And there is no lock-in: both because of the standard nature of the environment, and because the platform and the service are decoupled. Jelastic follows the “Android model” – we give the platform to hosters around the world who then provide it to their customers. So if you don’t like the service or need a hoster in another country – you just pick the provider that suits you best.

And finally it is just a great platform: fast and efficient, and getting rave reviews from users.

This quick demo shows it in action:

Now you can hopefully see my reasons for joining Jelastic! :)

If you are a fan of Quest’s PowerShell work – please keep being one – as I mentioned recently, Adam Driscoll is your guy! Watch his blog like you used to watch this one.

Watch this PowerShell blog – Adam Driscoll

 In case you have not noticed, most of our PowerShell blogging activity moved from this blog to Adam’s. :)

If you are not yet following Adam – you should bookmark his blog and subscribe to his RSS feed right away. He is now Quest’s key PowerShell expert!

Here are just a few posts he did last month:

There are just tons of great content in Adam’s PowerShell blog, and he is the author of PowerShell add-on for Visual Studio, and PowerShell / PowerGUI task bar QuickConsole - so definitely keep an eye on his updates!


My Recent Tweets

RSS My company’s blog

  • Yabe in the Cloud: Deployment Guide
    Since the Play! framework is one of the most popular frameworks among our developers, we thought we should publish another how-to showing how to deploy Play! apps to the Jelastic cloud. It’s pretty easy. We will use the yabe. blog engine as an example. Create an environment 1. Go to Jelastic.com and sign up if you haven’t done it yet or log [...] […]
  • The Jelastic Spotlight
    We are starting something new here on the blog for Fridays. Up until now, we were doing more light-hearted stuff but as we were sitting around talking about the different sweet apps that you, our customers, are deploying, we realized that we should be showcasing the apps and the developers! So, as of today, Fridays [...]
  • Remote Access to MySQL in Jelastic: Import/Export Dump Files in a Few Minutes
    Recently, we told you about that another cool feature that you have access to in the commercial version of Jelastic, Public IPv4. With a single click you access to a number of cool new capabilities. One of the most important opportunity you get with this feature is the ability to work with your databases remotely and [...]
  • The Jelastic Newsletter – May 23, 2012
    Java 7 adoption, Commercial releases in Europe and Russia and Software stack market share. . . The Jelastic newsletter is a weekly round-up of news, how-to’s and contribution opportunities. Here’s what’s happening this week: Commercial Releases in Europe and Russia As we continue to grow and add partners, we are happy to say that, as of yes […]
  • We are now available commercially in Europe!
    In partnership with dogado, we are now available commercially in Germany The last few weeks have been hectic here at Jelastic! We launched commercially in the US with ServInt; then we did the same in Russian with Rusonyx; and now we have launched commercially in Europe with Germany. Now in Europe Our commercial release with [...]
  • Software stacks market share: May 2012
    Every month we share stats on the usage and popularity of different software stacks within Jelastic PaaS with you. This month it’s even more interesting, because the scope of our stats has grown: we have a new hosting partner in Russia, Rusonyx. So, let’s check out the stats on databases, servers and JVMs for May and analyze the differences betwe […]
  • Geek Project of the Day
    Just in time for the weekend. Here is your geek project of the day. Because sometimes, a regular grill is not enough. We want one. Going to “borrow” a friend’s car and turn it into a grill.

Legal

The posts on this blog are provided “as is” with no warranties and confer no rights. The opinions expressed on this site are mine and mine alone, and do not necessarily represent those of my former employer - Quest Software, or my current employer - Jelastic or anyone else for that matter. All trademarks acknowledged.

© 2007-2012 Dmitry Sotnikov

Pages

 

February 2012
M T W T F S S
« Jan   Mar »
 12345
6789101112
13141516171819
20212223242526
272829  

Follow

Get every new post delivered to your Inbox.

Join 49 other followers