Questions tagged [scalr]

Cloud management platform that enables cost-effective, automated and standardized applications deployments on cloud environments.

Homepage: https://www.scalr.com/

19 questions
19
votes
5 answers

How to get a good quality thumbnail

I am trying to create a high quality thumbnail of this image, with Java and Scalr 3.2 This is the relevant source code, where THUMB_WIDTH = 77 and THUMB_HEIGHT = 57 BufferedImage srcImg = ImageIO.read(new File(sourceFile)); BufferedImage dstImg =…
stivlo
  • 83,644
  • 31
  • 142
  • 199
15
votes
8 answers

Any thoughts on RightScale and Scalr for dynamic Ec2 instance management

I'm looking for a cost effective tool for managing an web app on Ec2. Rightscale seems to the big dog and charges for it. Scalr looks like a more cost effective solution but it's hard to find out any real customer experiences.. The key aspects I'm…
Dom
  • 1,486
  • 2
  • 14
  • 22
10
votes
1 answer

What's the best practice for getting EC2 instances to join HAProxy automatically?

We're working on scaling out our EC2 architecture to a point where we'd like to manage our own load balancing. We currently have a series of machines configured on HAProxy to do basic load balancing, but we're looking for the 'best practice' means…
iandouglas
  • 4,146
  • 2
  • 33
  • 33
10
votes
5 answers

Code & data tracking / deployment

For a long time now, we've held our data within the project's repository. We just held everything under data/sql, and each table had its own create_tablename.sql and data_tablename.sql files. We have now just deployed our 2nd project onto Scalr and…
3
votes
1 answer

Android How to use Scalr 4.2 or 'java-image-scaling' for HQ thumbnails

I'm trying to create high quality thumbnails, have tried most-if-not-all methods with Android and not yet satisfied. Here is a good post I found, in which I would like to try using Scalr or 'java-image-scaling' library for Android. Here are Scalr…
jerrytouille
  • 1,238
  • 1
  • 13
  • 28
3
votes
2 answers

PNG with transparent background turns black when resized with Scalr

I am using org.imgscalr.Scalr(http://www.thebuzzmedia.com/software/imgscalr-java-image-scaling-library/#solve) libraries to resize the images but the PNG with transparent background turns black when resized. My code is as mentioned below: public…
Abhishek Dhote
  • 1,638
  • 10
  • 41
  • 62
2
votes
1 answer

Is there a way to start up MySQL Instance before Apache Instance on Scalr?

I am using Scalr for scaling the website server. On the Apache server, I have installed Sakai, and created an boot-up script for Linux machine. The question is, how can I ensure that MySQL Instance is booted up and running before the Apache server…
Benjamin
  • 429
  • 4
  • 17
2
votes
1 answer

How to rsync to all Amazon EC2 servers?

I have a Scalr EC2 cluster, and want an easy way to synchronize files across all instances. For example, I have a bunch of files in /var/www on one instance, I want to be able to identify all of the other hosts, and then rsync to each of those hosts…
Eric
  • 21
  • 1
  • 2
2
votes
1 answer

Resizing an image from a database using Scalr

I am trying to resize an image from by db. Below is the webservlet where I get the blob from my database and try to resize it using UtilImage. Problem: The image i tried to resize isn't shown in my browser and my console hasn't listed any…
Ore
  • 972
  • 2
  • 12
  • 24
2
votes
1 answer

How to deploy a successful build using Travis CI and Scalr

We're currently evaluating CI servers and Travis CI caught our eye since it is a hosted solution. I haven't been able to find any information about it being able to deploy to Scalr though. Has anyone had any luck setting this up? I found…
Adam Ritter
  • 989
  • 1
  • 9
  • 19
1
vote
1 answer

Image resize not reducing kiloBytes of the image - using imgscalr-lib-3.1

i am using imgscalr-lib-3.1 to create thumbnails to use in my galleria-classic photo album. it is reducing the size (pixels i mean like 100*100) but not the kilobytes, (like 10K, 20K). here is my code : public static void…
MoienGK
  • 4,544
  • 11
  • 58
  • 92
1
vote
1 answer

scalr api with postman client an

I am working on scalr and trying to access scalr api using postman client but I have getting error: { "meta": { "requestId": "63b814f1-f885-48cc-85d6-762e524e0bfb" }, "errors": [ { "code":…
1
vote
2 answers

Generate thumbnail and fill empty space with color

Is it possible to implement the first example with Scalr? My code is the following: BufferedImage thumbnail = Scalr.resize(ImageIO.read(sourceFile), Scalr.Method.ULTRA_QUALITY, Scalr.Mode.FIT_TO_WIDTH, width, height,…
nKognito
  • 6,297
  • 17
  • 77
  • 138
1
vote
1 answer

How to add an AWS EC2 instance on Scalr

I have an AWS account with 14 instances and using scalr. I added the Api reference details and it showed up, at that time instances were pretty low. As and when I keep adding new instances it accepted few and reject the rest. Now I have an instance…
Keval Domadia
  • 4,768
  • 1
  • 37
  • 64
1
vote
3 answers

Memcached Not Working in Magento

I have a cluster set-up on AWS using Scalr.net. I am running Magento CE 1.7 on: 1 Nginx Loadbalancer Server 2 Apache Web Servers 1 Database Server 1 Memcached Server The intent is to store files caches and session caches on the memcached server. I…
user1527556
  • 65
  • 2
  • 6
1
2